import Mock from 'mockjs'
//能耗数据一览表
const {MonitoringBranch_tableData} = Mock.mock({
    'MonitoringBranch_tableData|40-60': [
        {
            Instrument_code: '@integer(1000000,9999999)',
            Instrument_name:'@name()',
            Initial_indication:'@integer(1000000,9999999)',
            Termination_indicator:'@integer(1000000,9999999)',
            Energy_consumption:'@integer(1,9999999)',
            Instrument_type:'@name()',
            Data_time:'@date(yyyy-MM-dd hh:mm:ss)',

        }
    ]
})
//能耗数据一览表
Mock.mock('/api/module5/MonitoringBranchData','get',()=>{
    return {
        status: 200,
        message: '获取能耗数据信息成功',
        list: MonitoringBranch_tableData,
    }
})